
cmake_minimum_required(VERSION 3.0.2)
project(e_wheel)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
)

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES e_wheel
  CATKIN_DEPENDS roscpp rospy std_msgs
  DEPENDS system_lib
)

include_directories(
 include
  ${catkin_INCLUDE_DIRS}
)

add_executable(e_wheel src/eight_node.cpp src/data_type_define.cpp src/main_while.cpp src/wheelctr.cpp
                src/bianma.cpp  src/Serial.cpp src/wheel_module.cpp src/yaogan.cpp)
              #  src/wheelctr.cpp src/yaogan.cppsrc/eight_wheel_ctr.cpp
               
target_link_libraries(e_wheel ${catkin_LIBRARIES})